﻿@model TumbaloSoft.Models.ConvocatoriaJunta
@{
    if (ViewBag.permiso == 2)
    {
        Layout = "~/Views/Shared/_AdministradorEdificiosLayout.cshtml";
    }
    else if (ViewBag.permiso == 3)
    {
        Layout = "~/Views/Shared/_AdministradorGeneralLayout.cshtml";
    }
    else if (ViewBag.permiso == 1)
    {
        Layout = "~/Views/Shared/_PropietarioLayout.cshtml";
    }
    else
    {
        Layout = "~/Views/Shared/_AdministracionLayout.cshtml";
    }
    ViewBag.Title = "Registrar convocatoria de junta directiva";
}


<body id="page5">
<!-- content -->
		<div class="body2">
			<div class="main">
				<section id="content">
					<div class="wrapper">
                        <!--ESTA COLUMNA ES PARA EL MENU DE NAVEGACION DE LA IZQUIERDA QUE HABIA EN LOS MOCKUPS
                            DISCULPEN SI LOS ESTILOS ESTAN MAL NO SE MUCHO CSS-->
                        <article class="col0">
                            <nav class="urbangreymenu">
                                <h3 class="headerbar">Convocatoria de junta directiva</h3>
                                    <ul id="subMenu">
                                    </ul>
                            </nav>
                        </article>
						<article class="col1">
                            <!--dentro de div pad2 trabajare mi formulario -->
							<div class="pad2">
								<h2 class="pad_bot1 pad_top1">Registrar convocatoria de junta directiva</h2>
									
                                   <form id="ContactForm" method="post" encType = "multipart/form-data">

										<div  class="wrapper">
                                            <span><br>Edificio*</span>
											<br><input type="text" name="prEdificio.prIdEdificio" value="@ViewBag.prIdEdificio" readonly="readonly"/>
                                                @Html.ValidationMessageFor(model => model.prEdificio.prIdEdificio,null ,new{style = "float: none"})
										</div>

                                       <div class="wrapper">
                                            <span><br>Fecha*</span>
                                            <br>@Html.TextBoxFor(model => model.prFecha, new {@type = "Date"})
                                                @Html.ValidationMessageFor(model => model.prFecha,null ,new{style = "float: none"})
                                       </div>

                                       <div class="wrapper">
                                            <span><br>Hora*</span>
                                            <br>@Html.TextBoxFor(model => model.prHora, new {@type = "Time"})
                                                @Html.ValidationMessageFor(model => model.prHora,null ,new{style = "float: none"})
                                       </div>

                                       <div class="wrapper">
                                            <span><br>Lugar*</span>
                                            <br>@Html.TextBoxFor(model => model.prLugar, new { maxlength = 250})
                                                @Html.ValidationMessageFor(model => model.prLugar,null ,new{style = "float: none"})
                                       </div>

                                       <div  class="wrapper">
											<span><br>Tipo*</span>
											<br>
                                           <select name ="prTipo">
                                               <option value="O">Ordinaria</option>
                                               <option value="E">Extraordinaria</option>     
                                           </select>
									    </div>
                                                              
										<span>&nbsp;</span>
                                       <br>
                                       	<a href="#" class="button" onClick="document.getElementById('ContactForm').submit()">Registrar</a>
										<a href="#" class="button" onClick="document.getElementById('ContactForm').reset()">Limpiar</a>
										<a href="javascript:history.go(-1)" class="button" onClick="document.getElementById('ContactForm').cancel()">Cancelar</a>
								
								</form>
                                </div>
								 
							
						</article>
                        </div>
				
				</section>
			</div>
            </div>
		
<!-- / content -->
		
		<script type="text/javascript"> Cufon.now(); </script>

</body>

